package com.sie.plm.rpm.standar.vo;

import java.util.List;

public class AddAndDelRoleInUserVO {
    public void setType(String type) {
        this.type = type;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public void setContextType(String contextType) {
        this.contextType = contextType;
    }

    public void setRoleMemberDTOS(List<RoleMemberDTOS> roleMemberDTOS) {
        this.roleMemberDTOS = roleMemberDTOS;
    }

    public void setRoleList(List<String> roleList) {
        this.roleList = roleList;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AddAndDelRoleInUserVO)) {
            return false;
        }
        AddAndDelRoleInUserVO other = (AddAndDelRoleInUserVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$type = getType(), other$type = other.getType();
        if ((this$type == null) ? (other$type != null) : !this$type.equals(other$type)) {
            return false;
        }
        Object this$context = getContext(), other$context = other.getContext();
        if ((this$context == null) ? (other$context != null) : !this$context.equals(other$context)) {
            return false;
        }
        Object this$contextType = getContextType(), other$contextType = other.getContextType();
        if ((this$contextType == null) ? (other$contextType != null) : !this$contextType.equals(other$contextType))
            return false;
        Object this$roleMemberDTOS =  getRoleMemberDTOS(), other$roleMemberDTOS = other.getRoleMemberDTOS();
        if ((this$roleMemberDTOS == null) ? (other$roleMemberDTOS != null) : !this$roleMemberDTOS.equals(other$roleMemberDTOS)) {
            return false;
        }
        Object this$roleList =  getRoleList(), other$roleList =  other.getRoleList();
        return !((this$roleList == null) ? (other$roleList != null) : !this$roleList.equals(other$roleList));
    }

    protected boolean canEqual(Object other) {
        return other instanceof AddAndDelRoleInUserVO;
    }

    public int hashCode() {
        int PRIME = 59,
        result = 1;
        Object $type = getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        Object $context = getContext();
        result = result * 59 + (($context == null) ? 43 : $context.hashCode());
        Object $contextType = getContextType();
        result = result * 59 + (($contextType == null) ? 43 : $contextType.hashCode());
        Object $roleMemberDTOS = getRoleMemberDTOS();
        result = result * 59 + (($roleMemberDTOS == null) ? 43 : $roleMemberDTOS.hashCode());
        Object $roleList =  getRoleList();
        return result * 59 + (($roleList == null) ? 43 : $roleList.hashCode());
    }

    public String toString() {
        return "AddAndDelRoleInUserVO(type=" + getType() + ", context=" + getContext() + ", contextType=" + getContextType() + ", roleMemberDTOS=" + getRoleMemberDTOS() + ", roleList=" + getRoleList() + ")";
    }


    private String type = "container";
    private String context;

    public String getType() {
        return this.type;
    }


    public String getContext() {
        return this.context;
    }


    private String contextType = "ty.inteplm.product.CTyPDMLinkProduct";
    private List<RoleMemberDTOS> roleMemberDTOS;

    public String getContextType() {
        return this.contextType;
    }

    private List<String> roleList;

    public List<RoleMemberDTOS> getRoleMemberDTOS() {
        return this.roleMemberDTOS;
    }


    public List<String> getRoleList() {
        return this.roleList;
    }
}
